package demo3;

import demo2.Base;

public class TestDer2 extends Base {

    public void func(){
        System.out.println(super.b);
    }

    public static void main(String[] args) {
        Base base = new Base();
        System.out.println(base.a);
        // System.out.println(base.b);

        TestDer2 testDer2 = new TestDer2();
        System.out.println(testDer2.b);
    }
}
